using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using NetWorkMsg;

namespace NetMsg.WishMission
{
    public struct GetWishMissionsQ : IServerCallbackable
    {
        
        public uint UnPackableId => 98;
        public uint PackableId => 131;
        
        public void Pack(MemoryStream stream)
        {
            PackAuxiliary.Write(stream, 131u);
        }
    }
    
    public class GetWishMissionsP : IUnPackable
    {
        public List<int> Missions;
        public List<int> Gifts;
        
        public const uint Sid = 98;
        
        public void UnPack(MemoryStream stream)
        {
            UnPackAuxiliary.ReadUsAsIs(stream, out Missions);
            UnPackAuxiliary.ReadUsAsIs(stream, out Gifts);
        }
    }
    
    // 完成任务
    public struct CompleteWishMissionQ : IIdPackable
    {
        public int MissionId;
        
        public uint PackableId => 132;
        
        public void Pack(MemoryStream stream)
        {
            PackAuxiliary.Write(stream, 132u);
            PackAuxiliary.Write(stream, (uint)MissionId);
        }
    }
    
    public enum WishMissionEnum
    {
        GetWishMissionsP,
    }
}
